package com.yztstudy.Service;

import com.yztstudy.entity.Address;
import com.yztstudy.param.AddressListParam;
import com.yztstudy.param.AddressRemoveParam;
import com.yztstudy.utils.R;

/**
 * 用户地址的业务逻辑层接口
 */

public interface AddressService {

    R list(AddressListParam addressListParam); // 查询某个用户的全部地址

    R save(Address address); // 保存用户新增的地址

    R remove(AddressRemoveParam addressRemoveParam); // 删除用户的某个地址

}
